home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et-2_2.lha
/
et2.2
/
src
/
PrintPort.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-09-27
|
489b
|
39 lines
//$PrintPort$
#include "PrintPort.h"
#include "String.h"
#include "Error.h"
MetaImpl0(PrintPort);
PrintPort::PrintPort(char*)
{
bbox= gRect0;
}
void PrintPort::Merge(Rectangle *r)
{
pagebbox.Merge(Inter(cliprect, *r));
}
void PrintPort::OpenPage(int pn)
{
pagebbox= gRect0;
DevOpenPage(pn);
}
void PrintPort::ClosePage()
{
bbox.Merge(pagebbox);
DevClosePage();
pagebbox= gRect0;
}
void PrintPort::DevOpenPage(int)
{
}
void PrintPort::DevClosePage()
{
}